python count_case.py